import Index from '@/views/index/index.vue'
// 设备管理
export const deviceList = [
  {
    path: '/deviceList',
    component: Index,
    name: '设备管理',
    children: [
      {
        path: '/deviceList',
        name: 'deviceList',
        component: () => import('@/views/deviceList/deviceList.vue'),
        meta: {
          title: '设备列表'
        }
      },
      {
        path: '/manufacturerList',
        name: 'manufacturerList',
        component: () => import('@/views/deviceList/manufacturerList.vue'),
        meta: {
          title: '厂家列表'
        }
      }, {
        path: '/gatewayList',
        name: 'gatewayList',
        component: () => import('@/views/deviceList/gatewayList.vue'),
        meta: {
          title: '耳标网关'
        }
      }, {
        path: '/deviceComponentList',
        name: 'deviceComponentList',
        component: () => import('@/views/deviceList/deviceComponentList.vue'),
        meta: {
          title: '组合列表-新'
        }
      }, {
        path: '/earTagList',
        name: 'earTagList',
        component: () => import('@/views/deviceList/earTagList.vue'),
        meta: {
          title: '耳标列表'
        }
      }
      
      // {
      //   path: '/manufacturerList',
      //   name: 'manufacturerList',
      //   component: () => import('@/views/deviceList/manufacturerList.vue'),
      //   meta: {
      //     title: '设备详情'
      //   }
      // }
    ]
  }
]

// 用户管理
export const user = [
  {
    path: '/user',
    component: Index,
    name: '用户管理',
    children: [
      {
        path: '/roleList',
        name: 'roleList',
        component: () => import('@/views/user/roleList.vue'),
        meta: {
          title: '角色列表'
        }
      },
      {
        path: '/uesrList',
        name: 'uesrList',
        component: () => import('@/views/user/uesrList.vue'),
        meta: {
          title: '用户列表'
        }
      },
      {
        path: '/adminRoleList',
        name: 'adminRoleList',
        component: () => import('@/views/user/adminRoleList.vue'),
        meta: {
          title: '管理员角色列表'
        }
      },
      {
        path: '/companyList',
        name: 'companyList',
        component: () => import('@/views/user/companyList.vue'),
        meta: {
          title: '公司列表'
        }
      }
    ]
  }
]

// 客户管理
export const customer = [
  {
    path: '/customer',
    component: Index,
    name: '客户管理',
    children: [
      {
        path: '/seasCus',
        name: 'seasCus',
        component: () => import('@/views/customer/seasCus.vue'),
        meta: {
          title: '公海列表'
        }
      },
      {
        path: '/callRecordList',
        name: 'callRecordList',
        component: () => import('@/views/customer/callRecordList.vue'),
        meta: {
          title: '通话记录'
        }
      },
      {
        path: '/flagCus',
        name: 'flagCus',
        component: () => import('@/views/customer/flagCus.vue'),
        meta: {
          title: '重要客户'
        }
      },
      {
        path: '/myCus',
        name: 'myCus',
        component: () => import('@/views/customer/myCus.vue'),
        meta: {
          title: '我的客户'
        }
      },
      {
        path: '/customerList',
        name: 'customerList',
        component: () => import('@/views/customer/customerList.vue'),
        meta: {
          title: '客户列表'
        }
      },
      {
        path: '/userCusList',
        name: 'userCusList',
        component: () => import('@/views/customer/userCusList.vue'),
        meta: {
          title: '用户客户'
        }
      },
      {
        path: '/resourceList',
        name: 'resourceList',
        component: () => import('@/views/customer/resourceList.vue'),
        meta: {
          title: '用户客户'
        }
      }

    ]
  },

]
// 系统管理
export const systemManage = [
  {
    path: '/systemManage',
    component: Index,
    name: '系统管理',
    children: [
      {
        path: '/userConfigList',
        name: 'userConfigList',
        component: () => import('@/views/systemManage/userConfigList.vue'),
        meta: {
          title: '用户设置'
        }
      },
      {
        path: '/thirdClientList',
        name: 'thirdClientList',
        component: () => import('@/views/systemManage/thirdClientList.vue'),
        meta: {
          title: '信息源列表'
        }
      },
      {
        path: '/callConfigList',
        name: 'callConfigList',
        component: () => import('@/views/systemManage/callConfigList.vue'),
        meta: {
          title: '通话设置'
        }
      }
    ]
  }
]


// // 牧场管理
// export const ranch = [
//   {
//     path: '/ranch',
//     component: Index,
//     name: '牧场管理',
//     children: [
//       {
//         path: '/ranchList',
//         name: 'ranchList',
//         component: () => import('@/views/ranch/ranchList.vue'),
//         meta: {
//           title: '牧场列表'
//         }
//       },
//       {
//         path: '/penList',
//         name: 'penList',
//         component: () => import('@/views/ranch/penList.vue'),
//         meta: {
//           title: '圈棚列表'
//         }
//       },
//       {
//         path: '/styList',
//         name: 'styList',
//         component: () => import('@/views/ranch/styList.vue'),
//         meta: {
//           title: '栏舍列表'
//         }
//       }
//     ]
//   }
// ]
